export const baseURL = 'https://shadow.elemecdn.com'

//获取当前运行端
export const clientSide = () => {
  const userAgent = navigator.userAgent.toLowerCase()
  if(userAgent.match(/ipad|iphone os|midp|rv:1\.2\.3\.4|ucweb|android|windows ce|windows mobile/ig)) {
    return 'mobile'
  }else {
    return 'h5'
  }
}
